package controller

import (
	"os"
	"io/ioutil"
)

func GetFileInfo(path string)([]byte,error){
	f,err := os.Open(path)
	if err != nil{
		return nil,err
	}
	return ioutil.ReadAll(f)
}
